<div id="setservepeople-index">

        <div class="search">

                <form action="__APP__/SetServePeople/index" method="post" class="select">
                    关键字 <input type="text" name="key" /> 按
                    <select name="search">
                        <option value="1">ID</option>
                        <option value="2">食用人份名称</option>
                        <option value="3">食用人份别名</option>
                    </select>
                    <empty name="list">
                        <input type="submit" value="搜索" disabled="disabled" />
                        <else />
                        <input type="submit" value="搜索" />
                    </empty>
                </form>

        </div>

        <form action="__APP__/SetServePeople/del" method="post" name="delete" class="delete">
            <table>
                <thead>
                    <tr>
                        <th style="width:30px;">ID</th><th style="width:120px;">食用人份名称</th><th style="width:150px;">食用人份别名</th><th style="width:50px;">排序</th><th style="width:100px;">是否发布</th>
                        <th>描述</th>
                        <th class="action" style="width:50px;"><input class="allselect" type="button" value="全选" /></th>
                    </tr>
                </thead>
               <tbody>

                   <empty name="list">
                       <tr><td colspan="7" style="height:50px;">暂无数据</td></tr>
                       <else/>

                       <volist name="list" id="vo">
                           <tr>
                               <td><{$vo.id}></td>
                               <td><a href="__APP__/SetServePeople/edit/id/<{$vo.id}>"><{$vo.name}></a></td>
                               <td><{$vo.alias}></td>
                               <td><{$vo.sort}></td>
                               <eq name="vo.publish" value="1">
                                        <td>已发布</td>
                                   <else/>
                                        <td>未发布</td>
                               </eq>

                               <td><{$vo.description}></td>

                               <td><input type="checkbox" name="actions[]" value="<{$vo.id}>" /></td>
                           </tr>
                       </volist>

                   </empty>

               </tbody>
                <tfoot>
                    <empty name="show">
                        <tr><td class="fpage" colspan="7">暂无数据</td></tr>
                        <else/>
                        <tr><td class="fpage" colspan="6"><{$show}></td><td><input class="buttondel" type="button" value="删除" /></td></tr>
                    </empty>
                </tfoot>
            </table>
        </form>
</div>
<script type="text/javascript" src="../Public/js/setservepeople.js"></script>